package 设计模式.装饰器模式.基本形式案例;

public class Test {
    public static void main( String[] args ) {
        IDecorator decorator = new Decorator();
        IDecorator curtainDecorator = new CurtainDecorator(decorator);
        curtainDecorator.decorate();

    }
}
